def add_item(item, lst=[]):
    lst.append(item)
    return lst


lst = add_item(1)
lst2 = add_item(2)
lst3 = add_item(3)
print(
    f"lst is lst2={lst is lst2} ,lst is lst3 ={lst is lst3},lst2 is lst3={lst2 is lst3}"
)


def add_item_new(item, lst=None):
    if lst is None:
        list = []
        list.append(item)
    return list


lst_1 = add_item_new(1)
lst_2 = add_item_new(1)
lst_3 = add_item_new(1)

print(f"lst1 is lst2={lst_1 is lst_2}")
